"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function Singleton() {
    class Singleton {
        constructor() {
        }
        static get instance() {
            if (this._instance == null) {
                this._instance = new this();
            }
            return this._instance;
        }
        release() {
            this._instance = null;
        }
    }
    Singleton._instance = null;
    return Singleton;
}
exports.default = Singleton;
